#pragma once

#include "Misc/EngineEditorMacros.h"
#include "Object/Object.h"
#include "EditorPropertyView.m.h"

class RWidget;
class REditorPropertyViewModel;
class RVerticalPositionerWidget;

RCLASS()
class REditorPropertyView : public RObject
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorPropertyViewModel> InViewModel) ;
    virtual void CreateWidget(TSharedObjectPtr<RVerticalPositionerWidget> InValueList){};

    //get view model
    TSharedObjectPtr<REditorPropertyViewModel> GetViewModel() const;
protected:
    TWeakObjectPtr<REditorPropertyViewModel> BaseViewModel;

};